|
A Processing Instruction (PI) is an SGML and XML node type, which may occur anywhere in the document, intended to carry instructions to the application.〔(Chapter 9. Customization methods: Processing instructions )〕〔(Comparison of SGML and XML; World Wide Web Consortium Note, 15 December 1997 )〕 Processing instructions are exposed in the Document Object Model as Node.PROCESSING_INSTRUCTION_NODE , and they can be used in XPath and XQuery with the 'processing-instruction()' command.== Syntax == An SGML processing instruction is enclosed within ' and '>'. An XML processing instruction is enclosed within '' and '?>', and contains a ''target'' and optionally some content, which is the node value, that cannot contain the sequence '?>'. The XML Declaration at the beginning of an XML document (shown below) is not a processing instruction, however its similar syntax has often resulted in it being referred to as a processing instruction. 抄文引用元・出典: フリー百科事典『 ウィキペディア(Wikipedia)』 ■ウィキペディアで「processing instruction」の詳細全文を読む スポンサード リンク
|